package com.scau.hwadee.examination.service;
import	java.util.List;

import com.github.pagehelper.PageInfo;
import com.scau.hwadee.examination.entity.*;

/**
 * @author wrh
 * @date:
 * @descriotion:管理课程基本信息
 */

public interface MajorCourseService {
    /**
     *
     * 专业课程设置相关功能
     */
    int deleteMajorcourese(String mcId);

    int insertMajorcourse(Majorcourse record);

    //int insertSelective(Majorcourse record);

    Majorcourse selectMajorcourse(String mcId);

    int updateMajorcourse(Majorcourse record);

    PageInfo<Majorcourse> selectAllMajorcourseByMajor(int pageNum, int pageSize,String mjId);

    /**
     *
     *专业选考相关功能
     */
    int addCourseoptionalrelation(Courseoptionalrelation courseoptionalrelation);

    List<Courseoptionalrelation> getCourseoptionalrelationByMajor(String mjId);

    int updateCourseoptionalrelation(Courseoptionalrelation courseoptionalrelation);

    /**
     * 专业加考相关功能
     */
    int addAddexamcourse(Addexamcourse addexamcourse);

    List<Addexamcourse> getAddexamcourseByMajorclass(String aceMajclass1);

    int updateAddexamcourse(Addexamcourse addexamcourse);

    /**
     * 证书顶替相关功能
     */

    int addCertificatereplacerelation(Certificatereplacerelation certificatereplacerelation);

    Certificatereplacerelation getCertificatereplacerelation(String ctName);

    List<Certificatereplacerelation> getAllCertificatereplacerelation();

    /**
     * 课程顶替相关功能
     */
    int addCoursereplacerelation(Coursereplacerelation coursereplacerelation);

    List<Coursereplacerelation>getCoursereplacerelationByMajor(String mjId,String mvId);

    List<Coursereplacerelation>getLastCoursereplacerelation(String mjId,String mvId);

}
